package com.hzdp.netty.showcase.codec;



//public class MarshallingEncoder {
//
//	private static final byte[] LENGTH_PLACEHOLDER = new byte[4];
//
//	private Marshaller marshaller;
//
//	public MarshallingEncoder() throws IOException {
//		marshaller = MarshallingCodecFactory.buildMarshalling();
//	}
//
//	protected void encode(Object msg, ByteBuf out) throws Exception {
//		int lengthPos = out.writerIndex();
//		out.writeBytes(LENGTH_PLACEHOLDER);
//		ChannelBufferByteOutput output = new ChannelBufferByteOutput();
//	}
//}
